package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品与口味数据
    public void saveWithFlavor(DishDto dishDto);

    //根据Id查询菜品信息和口味
    public DishDto getByIdWithFlavor(Long id);

    //更新菜品信息与口味
    public void updateWithFlavor(DishDto dishDto);

    //删除菜品
    public void removeWithFlavor(List<Long> ids);


}
